package com.hyt.it.ogt.ks.websocket;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * websocket专用消息体，主要有以下两个功能使用：
 * 1.考中发消息给考生
 * 2.强制结束考试
 * @author liuhh
 */
@Data
public class WebsocketSendMessageDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "考试ID")
    private String examId;

    @ApiModelProperty(value = "考生ID")
    private String candidateId;

    @ApiModelProperty(value = "消息内容")
    private MessageContentDTO messageContent;

    private String userId;
}
